package com.qf.spring.anno.dao;

import com.qf.spring.anno.entity.User;

import java.util.List;

/**
 * @author nk
 * @date 2022/4/27 20:55
 */
public interface UserMapper {
    User selectByName(String name);

    List<User> selectAll();

    int add(User user);

    int update(User user);

    int delete(Integer id);
}
